<template>
  <div id="app">
    <img src="./assets/logo.png"
         @click='f'>
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  created() {


    // fetch('/api//connect/oauth2/authorize?response_type=code&scope=snsapi_base&appid=wx7988bfc4def7ee87&redirect_uri=https%3A%2F%2Fts.keytop.cn%2Fkos_frame_api%2Fservice%2Fopen%2Fsms%2Fget%2Fcode%3Fphone%3D15750729816&state=base@wx7988bfc4def7ee87#wechat_redirect')
  },
  methods: {
    f() {
      location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?response_type=code&scope=snsapi_base&appid=wx7988bfc4def7ee87&redirect_uri=https%3A%2F%2Fts.keytop.cn%2Fkos_frame_api%2Fservice%2Fopen%2Fsms%2Fget%2Fcode%3Fphone%3D15750729816&state=base@wx7988bfc4def7ee87#wechat_redirect"
    }
  }
}
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
